package vip.source.service.impl;

import org.springframework.stereotype.Service;
import vip.source.service.SmsService;

/**
 * 腾讯云SMS实现
 *
 * @author zy
 */
@Service("tencentCloudSms")
public class TencentCloudSmsServiceImpl implements SmsService {
    @Override
    public Boolean send(String fromPhone, String toPhone, String content) {
        System.out.println("------------------当前SMS厂商为腾讯云------------------");
        System.out.println("----" + fromPhone + " 向 " + toPhone + " 发送了一条短信。" + "----");
        System.out.println("短信内容为：" + content);
        System.out.println("----------------------------------------------------");
        return true;
    }
}
